/**
 * Copyright (c) 2018 qar All rights reserved.
 *
 * https://www.qar.io
 *
 * 版权所有，侵权必究！
 */

package io.qar.feign;

import io.qar.commons.tools.constant.ServiceConstant;
import io.qar.commons.tools.utils.Result;
import io.qar.dto.SysDictTypeDTO;
import io.qar.feign.fallback.BusFltInfoFeignClientFallbackFactory;
import io.qar.feign.fallback.DictFeignClientFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * 字典接口
 *
 * @author Mark sunlightcs@gmail.com
 */
@FeignClient(name = ServiceConstant.qar_ADMIN_SERVER, contextId = "BusFltInfoFeignClient", fallbackFactory = BusFltInfoFeignClientFallbackFactory.class)
public interface BusFltInfoFeignClient {

    /**
     * 字典类型列表
     */
    @PostMapping("sys/busfltinfo/insertbatchs")
    Result insertBatchs(@RequestParam("beginDate") String beginDate, @RequestParam("endDate") String endDate);

}